ShortPixel\Controller\AdminNoticesController D

Total Complexity 147
Dependencies 8
Dependents 9
Total lines 936
Lines of code 595
Logical lines of code 339
Comment lines 138
Methods 36
Properties 3

Methods 36

Method Rating Maintainability Complexity Lines of code
doAPINotices()
B
45 17 38
parse_readme_content()
A
44 15 45
displayNotices()
A
43 12 47
doRemoteNotices()
A
48 10 33
doQuotaNotices()
A
45 8 41
doListViewNotice()
A
49 7 31
proposeUpgradeRemote()
S
47 6 34
getQuotaExceededMessage()
S
43 4 51
get_update_notice()
S
54 6 21
get_remote_notices()
S
50 5 30
doCompatNotices()
S
57 5 17
getConflictMessage()
S
56 5 16
doIntegrationNotices()
S
58 4 14
getMonthAvg()
S
61 4 11
doUnlistedNotices()
S
64 4 9
check_admin_notices()
S
61 3 14
monthlyUpgradeNeeded()
S
62 3 12
parse_update_notice()
S
61 3 12
pluginUpdateMessage()
S
62 3 11
invokeLegacyNotice()
S
55 2 17
__construct()
S
64 3 8
markdown2html()
S
60 2 14
getInstance()
S
73 2 5
upgradeBulkCallback()
S
72 2 6
resetAllNotices()
S
81 1 3
resetCompatNotice()
S
80 1 3
resetAPINotices()
S
74 1 5
resetQuotaNotices()
S
74 1 5
resetIntegrationNotices()
S
80 1 3
resetLegacyNotice()
S
80 1 3
reInstateQuotaExceeded()
S
80 1 3
getActivationNotice()
S
66 1 8
getUnlistedMessage()
S
64 1 9
getMonthlyUpgradeMessage()
S
68 1 6
proposeUpgradePopup()
S
76 1 4
bulkUpgradeNeeded()
S
71 1 6